import money from './money'

const install = function(Vue) {
  Vue.directive('money', money)
}

if (window.Vue) {
  window['money'] = money
  Vue.use(install); // eslint-disable-line
}

money.install = install
export default money
